Skip to content

[FORMAT] Repo-wide style cleanup#71

Merged
mark14wu merged 3 commits intokeren/v2.0from
code_cleaning
Jun 4, 2025
Merged

[FORMAT] Repo-wide style cleanup#71
mark14wu merged 3 commits intokeren/v2.0from
code_cleaning

Conversation

@mark14wu
Copy link
Collaborator

@mark14wu mark14wu commented Jun 4, 2025

These changes were generated automatically by pre-commit run --all-files.
The commit is a style-and-maintenance sweep: it reformats code, reorders imports, and tidies public exports to improve readability and consistency. No runtime behaviour or functional logic is affected.

@mark14wu mark14wu merged commit c14d958 into keren/v2.0 Jun 4, 2025
@mark14wu mark14wu deleted the code_cleaning branch June 4, 2025 19:43
a = torch.randn(size, dtype=torch.float32, device='cuda')
b = torch.randn(size, dtype=torch.float32, device='cuda')
output = torch.empty_like(a, device='cuda')
a = torch.randn(size, dtype=torch.float32, device="cuda")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those devices shouldn't be set to cuda

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If TRITON_INTERPRET=1, it will be fine to set devices to cuda.
However triton-viz cannot work with TRITON_INTERPRET=1 now.

@mark14wu mark14wu added this to the CI Fix milestone Jul 1, 2025
@mark14wu mark14wu changed the title [CHORE] Repo-wide style cleanup [FORMAT] Repo-wide style cleanup Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants